package com.hsck.order.kds.base.isnoam.network

import com.google.gson.annotations.JsonAdapter
import com.google.gson.annotations.SerializedName

/**
 * json返回的基本类型
 *
 */
class BaseResp<T> {
    var code = 0
    var total = 0
    @JsonAdapter(JsonEmptyStringAdapterFactory::class)
    @SerializedName(value = "data", alternate = ["rows"])
    var data: T? = null
    var msg:String = ""
}